package com.base.service;

import com.base.po.tbk.TbkChoiceList;
import com.base.po.tbk.TbkChoiceListExample;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbkChoiceListService {
    int countByExample(TbkChoiceListExample example);

    int deleteByExample(TbkChoiceListExample example);

    int insert(TbkChoiceList record);

    int insertSelective(TbkChoiceList record);

    List<TbkChoiceList> selectByExample(TbkChoiceListExample example);

    List<TbkChoiceList> selectByActivityId(@Param("page") Page page, @Param("parentid") String parentid,
                                           @Param("activityid") String activityid);

    TbkChoiceList selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TbkChoiceList record, @Param("example") TbkChoiceListExample example);

    int updateByExample(@Param("record") TbkChoiceList record, @Param("example") TbkChoiceListExample example);

    int updateByPrimaryKeySelective(TbkChoiceList record);

    int countByActivityId(@Param("parentid") String parentid, @Param("activityid") String activityid);
}